﻿using AutoMapper;

namespace Ross.OA.Client.AutoMapper
{
    public class Configuration
    {
        public static IMapper Mapper;
        public static void Configure()
        {
            var config = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile<EntityProfile>();
            });
            Mapper = config.CreateMapper();
        }
    }
}
